
(function (){
  remComputer ()
  window.onresize = function () {

    console.log("bianhuale")
    remComputer ()
  }
  function remComputer(){
    var w = document.documentElement.clientWidth || document.body.clientWidth
    console.log(w)
    var doc = document.getElementsByTagName("html")[0]
    console.log(doc)
    if (w > 750) {
      doc.style.fontSize = 100 + 'px'
    } else {
      doc.style.fontSize = w / 7.5 + 'px'
    }
  }
})()
